package com.ruibang.glass.produce.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;


/**
 * @author 宋锦康
 */
@Data
@ApiModel
@TableName("g_produce_monitor_type")
public class MonitorType implements Serializable {

    @ApiModelProperty(value = "设备监测类型id")
    @TableId(value = "type_id", type = IdType.ASSIGN_ID)
    private String typeId;

    @ApiModelProperty(value = "设备监测类型名称")
    private String typeName;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "单位列表")
    @TableField(exist = false)
    private List<String> typeUnits;

}
